package com.study.web.controller.home;

import cn.dev33.satoken.annotation.SaCheckLogin;
import com.study.common.core.controller.AppBaseController;
import com.study.common.core.domain.R;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 家长端首页
 *
 */

@Slf4j
@Validated
@RequiredArgsConstructor
@RestController
@RequestMapping
public class ParentHomeController extends AppBaseController {



    //获取家长端获取学生信息
    @SaCheckLogin
    @GetMapping("/getStudentInfo")
    public R<Void> gettStudentInfo(){
        return R.ok();
    }
}
